//
//  BCSwitchView.h
//  NiuBanJin
//
//  Created by Billy on 15/10/14.
//  Copyright © 2015年 zzjr. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BCSwitchViewDelegate <NSObject>

- (void) buttonSelected:(UIButton *) button;

@end

@interface BCSwitchView : UIView

@property (nonatomic, strong) NSArray *arry_items ;//指定多少个元素
@property (nonatomic, strong) UIColor *color_scroll; //底部滚动条颜色
@property (nonatomic, assign) id <BCSwitchViewDelegate>  delegate;

- (instancetype)initWithFrame:(CGRect)frame Items:(NSArray *) items scrollColor:(UIColor *) color ;//inital method

@end
